package com.gf.framework.cruddemo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gf.framework.mysql.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author gaofei
 * @date 2022/5/22 22:12
 */
@EqualsAndHashCode(callSuper = false)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("student")
public class Student extends BaseEntity {
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("电话号码")
    private String phone;
}
